import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import './assets/css/reset.css'


import ElementUI from 'element-ui'
import '../node_modules/element-ui/lib/theme-chalk/index.css'
import gCom from './common'

Vue.use(ElementUI)
Vue.prototype.$imgUrl = 'http://localhost:3000'

for (let i in gCom) {
  Vue.component(i, gCom[i])
}

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
